<?php


/**
 * Radcodes - SocialEngine Module
 *
 * @category   Application_Extensions
 * @package    Game
 * @copyright  Copyright (c) 2009-2010 Radcodes LLC (http://www.radcodes.com)
 * @license    http://www.radcodes.com/license/
 * @version    $Id$
 * @author     Vincent Van <vincent@radcodes.com>
 */
 
 
?>

<h2><?php echo $this->translate("Game Plugin") ?></h2>

<?php if( count($this->navigation) ): ?>
  <div class='tabs'>
    <?php
      // Render the menu
      //->setUlClass()
      echo $this->navigation()->menu()->setContainer($this->navigation)->render()
    ?>
  </div>
<?php endif; ?>

  <div class="game_admin_settings">
    <?php
      // Render the menu
      echo $this->navigation()
        ->menu()
        ->setContainer($this->quickNavigation)
        ->render();
    ?>
  </div>

<?php if ($this->bridge_enabled): ?>
  <?php if ($this->check_crossdomain === null || $this->check_crossdomain === false): ?>

    <div class="tip">
      <span>
        <?php echo $this->translate('Could NOT find allow-access-from for mochiads.com domains in "crossdomain.xml" file. You must add x.mochiads.com, www.mochiads.com and www.mochimedia.com to your site\'s crossdomain policy file in order for the Bridge to be able to communicate with your server. Read FAQ for more details.') ?>
        <br/><b><?php echo $this->htmlLink($this->url(array('action'=>'crossdomain')), 
          $this->translate('Click here to add Mochi domains to "crossdomain.xml" file.'),
          array('class' => 'smoothbox')
        )?></b>
      </span>
    </div>
            
  <?php endif; ?>
<?php endif; ?>
  
  <div class='clear'>

    <div class='settings'>

      <?php echo $this->form->render($this); ?>

    </div>
  </div>
     